home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / Database / CardFile_Source / CardFile_Advanced / Customer.h < prev    next >
Text File  |  1993-11-23  |  554b  |  35 lines

  1. /*
  2.  *
  3.  * Customer.h
  4.  *
  5.  *    You may freely copy, distribute and reuse the code in this example.
  6.  *    NeXT disclaims any warranty of any kind, expressed or implied, as to
  7.  *    its fitness for any particular use.
  8.  *
  9.  */
  10.  
  11. #import <appkit/appkit.h>
  12.  
  13. @interface Customer:Object
  14. {
  15.     char    *name;
  16.     int        uid;
  17. }
  18.  
  19. // Overridden methods
  20.  
  21. - init;
  22. - free;
  23. - read:(NXTypedStream *)stream;
  24. - write:(NXTypedStream *)stream;
  25.  
  26.  
  27. // Accessor methods
  28.  
  29. - setCustomerName: (const char *)newName;
  30. - (const char *) customerName;
  31. - setCustomerUid: (int)newUid;
  32. - (int) customerUid;
  33.  
  34. @end
  35.